projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58096ba
)
(electric-help-command-loop): Check whether the last character is visible,
author
Juanma Barranquero
<lekktu@gmail.com>
Thu, 6 May 2004 00:43:33 +0000
(
00:43
+0000)
committer
Juanma Barranquero
<lekktu@gmail.com>
Thu, 6 May 2004 00:43:33 +0000
(
00:43
+0000)
not (point-max).
lisp/ehelp.el
patch
|
blob
|
history
diff --git
a/lisp/ehelp.el
b/lisp/ehelp.el
index 641faca557aa7de50bf7d39ff8b949d672567aca..e80c129d3ea68a6362c010114fe611232cedceb1 100644
(file)
--- a/
lisp/ehelp.el
+++ b/
lisp/ehelp.el
@@
-215,7
+215,7
@@
BUFFER is put into `default-major-mode' (or `fundamental-mode') when we exit."
;beginning-of-buffer - otherwise pos-visible-in-window-p
;will yield a wrong result.
(let ((min (pos-visible-in-window-p (point-min)))
- (max (pos-visible-in-window-p (
point-max
))))
+ (max (pos-visible-in-window-p (
1- (point-max)
))))
(cond (isearch-mode 'noprompt)
((and min max)
(cond (standard "Press q to exit, r to retain ")